<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <link rel="icon" type="image/x-icon" href="{{ url_for('static', filename='favicon.ico') }}">
    <link rel="stylesheet" href="{{ url_for('static', filename='style.css') }}">
    <link rel="stylesheet" href="{{ url_for('static', filename='animate.min.css') }}">
    <title>颜值服务</title>
</head>
<header>
    <div class="hub__navbar" style="display: flex;justify-content: space-between;">
        <a class="logo" href="/" style="margin:68px 0 0 20px;font-size: 38px;"><img src="../static/images/logo.png"
                height="88" width="88" style="margin-right: 20px;" alt="">湖南涉外经济学院</a>
        <div style="display: flex;margin: 20px 20px -20px 0;">
            <a class="hub__nav__link" href="koutu" style="font-size: 26px !important;">抠图服务</a>
            <a class="hub__nav__link" href="zhengjianzhao" style="font-size: 26px !important;">证件照服务</a>
            <a class="hub__nav__link active" href="yanzhi" style="font-size: 26px !important;">颜值服务</a>
            <a class="hub__nav__link" href="ocr" style="font-size: 26px !important;">OCR服务</a>
            <a class="hub__nav__link" href="ernie_vilg" style="font-size: 26px !important;">图像生成服务</a>
        </div>
    </div>
</header>

<body>
    <main>
        <div class="hub__container d-f x-center y-center" style="margin-top: -75px;">
            <div class="banner animate__animated animate__slideInUp">
                <p><img src="../static/images/logo1.png" height="168" width="168" alt=""></p>
                <h1 style="font-weight: bold;font-size: 108px;">人像颜值服务</h1>
                <h2 style="line-height: 1.5;">你可以上传照片，识别人脸位置并给出年龄、颜值分</h2>
                <form style="margin-top: 20px;" id="myform" class="" action="" enctype='multipart/form-data' method='POST' onclick='LimitAttach(this.form, this.form.file.value);'>
                    <input type="file" id="file" name="file" style="opacity: 0;position: absolute;">
                    <div class="start" onclick="selectInput(1)">START</div>
                </form>
            </div>
        </div>
        <div class="d-n" id="result">
            <div class="imgbox" style="width: auto !important;height: 80%;">
                <a href="{{filename }}" download="mypic.jpg">
                    <img class="" style="height: 100%;" src="{{filename }}" alt="" />
                </a>
            </div>
        </div>
        <footer>
            <p class="animate__animated " style="font-size: 24px;">author: <strong>湖南涉外经济学院信息与机电工程学院</strong></p>
            <div id="gotop">
                <img src="../static/images/arrow-up.png" alt="">
            </div>
        </footer>
    </main>
    <script src="../static/index.js"></script>
    {% extends "bootstrap/base.html" %} {% block content %} {% endblock %} {% block myjs %} {% endblock %}
</body>

</html>